<?php
session_start();

require_once('libs/db.php');
require_once('libs/constant.php');
require_once('libs/lib.php');
require_once('config.php');

//header("Content-Type: text/html; charset=utf-8");
header('Content-Type: application/json; charset=utf-8');

require_once('yii/framework/yii.php');
Yii::createWebApplication(require_once('protected/config/main.php'))->run();
?>